Delete
A Delete command is a request to delete one or more objects. The Finder version of the Delete command is identical to the standard version described
in the AppleScript Language Guide.SYNTAX
delete referenceToObjectPARAMETER
- referenceToObject
- A reference to the object or objects to be deleted.
Class: ReferenceRESULT
NoneEXAMPLE
tell application "Finder" delete file "OldFile" of startup disk end tell